import request from '@/utils/request'

// 查询风险管理-重大风险应对列表
export function listDealRiskGreatReply(query) {
  return request({
    url: '/riskGreatReply/dealRiskGreatReply/list',
    method: 'get',
    params: query
  })
}

// 查询风险管理-重大风险应对详细
export function getDealRiskGreatReply(id) {
  return request({
    url: '/riskGreatReply/dealRiskGreatReply/' + id,
    method: 'get'
  })
}

// 保存风险管理-重大风险应对
export function saveDealRiskGreatReply(data) {
  return request({
    url: '/riskGreatReply/dealRiskGreatReply/save',
    method: 'post',
    data: data
  })
}

// 删除风险管理-重大风险应对
export function delDealRiskGreatReply(id) {
  return request({
    url: '/riskGreatReply/dealRiskGreatReply/' + id,
    method: 'delete'
  })
}

// 导出风险管理-重大风险应对
export function exportDealRiskGreatReply(query) {
  return request({
    url: '/riskGreatReply/dealRiskGreatReply/export',
    method: 'get',
    params: query
  })
}
